home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / amivogl-1.03.lzh / vogl / src / sunfort / fviewing.c.Z / fviewing.c
Encoding:
C/C++ Source or Header  |  1991-06-03  |  1.3 KB  |  79 lines

  1. #include "vogl.h"
  2.  
  3. /*
  4.  * polarview_
  5.  */
  6. polarview_(dist, azim, inc, twist)
  7.     float    *dist;
  8.     int    *azim, *inc, *twist;
  9. {
  10.     polarview(*dist, (Angle)*azim, (Angle)*inc, (Angle)*twist);
  11. }
  12.  
  13. /*
  14.  * polarv_    (same as polarview_)
  15.  */
  16. polarv_(dist, azim, inc, twist)
  17.     float    *dist;
  18.     int    *azim, *inc, *twist;
  19. {
  20.     polarview(*dist, (Angle)*azim, (Angle)*inc, (Angle)*twist);
  21. }
  22.  
  23. /*
  24.  * lookat_
  25.  */
  26. lookat_(vx, vy, vz, px, py, pz, twist)
  27.     float  *vx, *vy, *vz, *px, *py, *pz;
  28.     int    *twist;
  29. {
  30.     lookat(*vx, *vy, *vz, *px, *py, *pz, (Angle)*twist);
  31. }
  32.  
  33. /*
  34.  * perspective_
  35.  */
  36. perspective_(fov, aspect, hither, yon)
  37.     float     *aspect, *hither, *yon;
  38.     int    *fov;
  39. {
  40.     perspective((Angle)*fov, *aspect, *hither, *yon);
  41. }
  42.  
  43. /*
  44.  * perspe_    (same as perspective_)
  45.  */
  46. perspe_(fov, aspect, hither, yon)
  47.     float     *aspect, *hither, *yon;
  48.     int    *fov;
  49. {
  50.     perspective((Angle)*fov, *aspect, *hither, *yon);
  51. }
  52.  
  53. /*
  54.  * window_
  55.  */
  56. window_(left, right, bottom, top, hither, yon)
  57.     float     *left, *right, *bottom, *top, *hither, *yon;
  58. {
  59.     window(*left, *right, *bottom, *top, *hither, *yon);
  60. }
  61.  
  62. /*
  63.  * ortho_
  64.  */
  65. ortho_(left, right, bottom, top, hither, yon)
  66.     float     *left, *right, *bottom, *top, *hither, *yon;
  67. {
  68.     ortho(*left, *right, *bottom, *top, *hither, *yon);
  69. }
  70.  
  71. /*
  72.  * ortho2_
  73.  */
  74. ortho2_(left, right, bottom, top)
  75.     float    *left, *right, *bottom, *top;
  76. {
  77.     ortho2(*left, *right, *bottom, *top);
  78. }
  79.